package com.xiangshizhineng.tianzhangzhi.app.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.xiangshizhineng.tianzhangzhi.app.common.base.BaseDTO;
import com.xiangshizhineng.tianzhangzhi.app.utils.LongJsonSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
import java.util.Date;


@ApiModel("事件附件表")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class EventFileDTO extends BaseDTO implements Serializable {

    /**
     * 附件名称
     */
    @ApiModelProperty(value = "附件名称")
    private String fileName;
    /**
     * 附件路径
     */
    @ApiModelProperty(value = "附件路径")
    private String filePath;
    /**
     * 事件id
     */
    @ApiModelProperty(value = "事件id")
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long eventId;
    /**
     * 
     */
    @ApiModelProperty(value = "")
    private Date createTime;
    /**
     * 
     */
    @ApiModelProperty(value = "")
    private Date updateTime;
    /**
     * 事件图片类型（0上报事件上传图片，1解决事件上传图片）
     */
    @ApiModelProperty(value = "事件图片类型（0上报事件上传图片，1解决事件上传图片）")
    private String picType;

}
